package com.usian.search.service;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.search.UserSearchDto;

/**
 * ClassName: ApAssociateWordsService
 * Author:   WGG
 * Date:    2022-12-2022/12/11-8:53
 * Version: 1.0
 * Description:
 */
public interface ApAssociateWordsService {

    /**
     * 联想词模糊查询
     * @param dto
     * @return
     */
    ResponseResult findByLike(UserSearchDto dto);


    /**
     * redis优化联想词查询
     * @param dto
     * @return
     */
    ResponseResult searchRedis(UserSearchDto dto);

}
